﻿namespace DatabaseManage
{
    using System;

    public class FieldInfo
    {
        private string _comment;
        private string _fieldName;
        private string _fieldType;
        private bool _isNull;
        private bool _isPkey;
        private string _typeLength;

        public string Comment
        {
            get
            {
                return this._comment;
            }
            set
            {
                this._comment = value;
            }
        }

        public string FieldName
        {
            get
            {
                return this._fieldName;
            }
            set
            {
                this._fieldName = value;
            }
        }

        public string FieldType
        {
            get
            {
                return this._fieldType;
            }
            set
            {
                this._fieldType = value;
            }
        }

        public bool IsNull
        {
            get
            {
                return this._isNull;
            }
            set
            {
                this._isNull = value;
            }
        }

        public bool IsPkey
        {
            get
            {
                return this._isPkey;
            }
            set
            {
                this._isPkey = value;
            }
        }

        public string TypeLength
        {
            get
            {
                return this._typeLength;
            }
            set
            {
                this._typeLength = value;
            }
        }
    }
}

